package com.wanmait.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanmait.community.entity.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper extends BaseMapper<Admin> {

    Admin selectBynamePassword (@Param("adminName") String username, @Param("adminPass") String password);

    void updateBY(Admin admin);

    Admin findByid(Integer id);


    void insertAdmin(Admin admin);
}





